package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.commons.dto.AccountInfoQueryDto;
import com.qigao.mall.jdbc.model.TbAccountInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbAccountInfoMapper extends AbstractTbAccountInfoMapper{

    TbAccountInfo selectByOwnerNoAndAccountType(@Param("ownerNo") String ownerNo, @Param("accountType") String accountType);

    int addAmt(TbAccountInfo tbAccountInfo);

    TbAccountInfo selectByAccountNo(String toAccountNo);

    List<TbAccountInfo> selectByCond(AccountInfoQueryDto accountInfoQueryDto);
}